{include file="public:header" /}
<!--会员模块配置-->
<div class="pad_lr_10">
	<form id="info_form" action="{:url('Setting/editDo')}" method="post" enctype="multipart/form-data">
	<div class="col_tab">
	<ul class="J_tabs tab_but cu_li">
		<li class="current">会员模块配置</li>
		<li>第三方登录</li>
	</ul>
<div class="J_panes">
	<div class="content_list pad_10">
		<table width="100%" class="table_form">
        <tr>
            <th width="150">开启会员注册 :</th>
            <td>
                <label class="mr10"><input name="data[register]" value="1" type="radio" class="J_change_status" {if condition="$info.register eq 1"}checked{/if}> 开启 </label>
                <label><input name="data[register]" type="radio" value="0" class="J_change_status" {if condition="$info.register eq 0"}checked{/if}>关闭</label>
            </td>
        </tr>

		<tr>
			<th>用户添加二手房 :</th>
			<td>
				<label for="second_1">
					<input type="radio" id="second_1" name="data[second]" value="0" {if condition="$info.second eq 0"}checked{/if}>审核
				</label>
				<label for="second_2">
					<input type="radio" id="second_2" name="data[second]" value="1" {if condition="$info.second eq 1"}checked{/if}>不审核
				</label>
			</td>
		</tr>
		<tr>
			<th>用户添加出租房 :</th>
			<td>
				<label for="rental_1">
					<input type="radio" id="rental_1" name="data[rental]" value="0" {if condition="$info.rental eq 0"}checked{/if}>审核
				</label>
				<label for="rental_2">
					<input type="radio" id="rental_2" name="data[rental]" value="1" {if condition="$info.rental eq 1"}checked{/if}>不审核
				</label>
			</td>
		</tr>
		<tr>
			<th>用户添加文章 :</th>
			<td>
				<label for="article_1">
					<input type="radio" id="article_1" name="data[article]" value="0" {if condition="$info.article eq 0"}checked{/if}>审核
				</label>
				<label for="article_2">
					<input type="radio" id="article_2" name="data[article]" value="1" {if condition="$info.article eq 1"}checked{/if}>不审核
				</label>
			</td>
		</tr>
	</table>
	</div>
	<div class="content_list pad_10 hidden">
		<table width="100%" class="table_form">
			<tr>
				<th width="150">qq配置 :</th>
				<td>
					<table>
						<tr>
							<th>APPKEY: </th>
							<td><input type="text" name="data[qq][app_key]" class="input-text" value="{$info.qq.app_key}" size="50"></td>
						</tr>
						<tr>
							<th>APPSECRET:</th>
							<td>
								<input type="text" name="data[qq][app_secret]" class="input-text" value="{$info.qq.app_secret}" size="50">
							</td>
						</tr>
						<tr>
							<th>回调地址：</th>
							<td>http://{:config('url_domain_root')}/user.login/callback/type/qq.html</td>
						</tr>
						<input type="hidden" name="data[qq][callback]" value="http://{:config('url_domain_root')}/user.login/callback/type/qq.html">
					</table>
				</td>
			</tr>
			<tr>
				<th width="150">新浪微博 :</th>
				<td>
					<table>
						<tr>
							<th>APPKEY: </th>
							<td><input type="text" name="data[sina][app_key]" class="input-text" value="{$info.sina.app_key}" size="50"></td>
						</tr>
						<tr>
							<th>APPSECRET:</th>
							<td>
								<input type="text" name="data[sina][app_secret]" class="input-text" value="{$info.sina.app_secret}" size="50">
							</td>
						</tr>
						<tr>
							<th>回调地址：</th>
							<td>
								http://{:config('url_domain_root')}/user.login/callback/type/sina.html
							</td>
						</tr>
						<input type="hidden" name="data[sina][callback]" value="http://{:config('url_domain_root')}/user.login/callback/type/sina.html">

					</table>
				</td>
			</tr>

		</table>
	</div>
</div>
</div>
		<input type="hidden" name="name" value="{$action_name}">
		<input type="hidden" name="id" value="{$base.id}">
		<div class="mt10"><input type="submit" value="提交" id="dosubmit" name="" class="btn btn_submit" style="margin:0 0 10px 100px;"><br /><br /><br /></div>
</form>
</div>
{include file="public:footer" /}
<script src="__PUBLIC__/js/plugins/jquery.tools.min.js"></script>
<script>
	$(function(){
		$('ul.J_tabs').tabs('div.J_panes > div');
	});
</script>
</body>
</html>